//
//  ChapterModel.h
//  MyLearnJob
//
//  Created by qianfeng on 15-6-28.
//  Copyright (c) 2015年 朱共营. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ChapterModel : NSObject
@property(nonatomic,copy) NSString *name;
@property(nonatomic,copy) NSString *cid;
@property(nonatomic,copy) NSString *seq;
@property(nonatomic,copy) NSString *type;
@property(nonatomic,copy) NSString *chapter_id;
@property(nonatomic,copy) NSString *media_url;
@property(nonatomic,copy) NSString *media_down_url;
@property(nonatomic,copy) NSString *duration;
@property(nonatomic,copy) NSString *media_size;
@property(nonatomic,copy) NSString *media_down_size;
@property(nonatomic,copy) NSString *share_url;
@property(nonatomic,copy) NSString *media_seq;
@property(nonatomic,copy) NSString *chapter_seq;
@property(nonatomic,copy) NSString *id;

@property(nonatomic,copy) NSArray *medio;
- (void)setValue:(id)value forUndefinedKey:(NSString *)key;
- (id)valueForUndefinedKey:(NSString *)key;
@end
/*
 "duration": 255250,
 "last_time": 0,
 "last_date": 0,
 "share_url": "http://www.imooc.com/video/8232",
 "have_ques": 0,
 "media_size": 10680621,
 "media_down_size": 20659791,
 "status": 0
 
 
 "id": 2137,
 "name": "课前准备",
 "cid": 425,
 "seq": 1
 },
 "media": [
 {
 "id": 8232,
 "name": "课程介绍",
 "type": 1,
 "chapter_seq": 1,
 "chapter_id": 2137,
 "media_seq": 1,
 "media_url": "http://v1.mukewang.com/26d928ce-d6ab-43fc-b108-d35cd2725e5f/L.mp4",
 "media_down_url": "http://v1.mukewang.com/26d928ce-d6ab-43fc-b108-d35cd2725e5f/H.mp4",
 */